python for loop skip iteration if condition not met jinja

37

{% for user in users if not user.hidden %}
    <li>{{ user.username|e }}</li>
{% endfor %}

Comments

Submit
0 Comments